package com.sinochem.yunlian.ship.base.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 类别字典信息表
 * 
 * @author cyp
 * @email ${email}
 * @date 2017-11-21 19:06:25
 */
@Table(name = "bs_category")
@Data
public class BsCategory implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//ID
    @Id
    private Long id;
	
	//名称
    @Column(name = "category_name")
    private String categoryName;

    //父节点ID
    @Column(name = "parent_id")
    private Long parentId;

    //等级
    @Column(name = "level")
    private Integer level;
	
	//状态
    @Column(name = "status")
    private Integer status;
	
	//排序
    @Column(name = "seq_num")
    private Integer seqNum;
	
	//分组ID
    @Column(name = "group_id")
    private Integer groupId;
	
	//字母
    @Column(name = "en_name")
    private String enName;

    //类别
	@Column(name = "category_type")
	private String categoryType;

    //业务ID
    @Column(name = "busi_id")
    private Long busiId;

}
